package stool.chainofresponsibility;

/**
 * @Author Felix YF Dong
 * @Date 2021/5/13
 */
public abstract class Manager {

    private String name;

    private Manager superior;

    public Manager(String name) {
        this.name = name;
    }

    public abstract void requestApplication(Request request);

    public Manager getSuperior() {
        return superior;
    }

    public void setSuperior(Manager superior) {
        this.superior = superior;
    }
}
